package com.czl.elm.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zuoleiChen
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Order对象", description="")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @ApiModelProperty(value = "订单地址")
    private String addressId;

    @ApiModelProperty(value = "包装费")
    private Integer foodPack;

    @ApiModelProperty(value = "配送费")
    private Integer distributionCost;

    @ApiModelProperty(value = "订单食物的json 商品id：个数")
    private String shopCart;

    @ApiModelProperty(value = "优惠详情json 优惠内容：减的金额")
    private String preferential;

    @ApiModelProperty(value = "总价格")
    private Integer sumCost;

    @ApiModelProperty(value = "总优惠")
    private Integer sumReduction;

    @ApiModelProperty(value = "送出时间")
    private String sendTime;

    @ApiModelProperty(value = "支付方式")
    private String buyWay;

    @ApiModelProperty(value = "订单状态 1 下单成功 0未支付 -1 取消订单 2已完成")
    private Integer tag;

    @ApiModelProperty(value = "订单可查询状态")
    private Integer enable;

    @ApiModelProperty(value = "商店Id")
    private Integer shopId;

    @ApiModelProperty(value = "用户账户")
    private String phoneName;

    @ApiModelProperty(value = "获取时间")
    private LocalDateTime getTime;

    @ApiModelProperty(value = "骑士名字")
    private String knight;

    @ApiModelProperty(value = "评论id，没有就是null")
    private String evaluationId;


}
